package com.mf.entity.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * @Author: lmf
 * @Create: 2024/8/6 15:43
 * Description:
 */

@Data
public class UserRequest {
    private Integer id;

    /**
     * 用户姓名
     */
    @Schema(description = "用户姓名")
    @NotNull(message = "姓名不能为空")
    private String name;

    /**
     * 账号
     */
    @Schema(description = "账号")
    @NotNull(message = "账号不能为空")
    private String account;

    /**
     * 邮箱
     */
    private String email;


    /**
     * 手机号
     */
    private String phone;

    /**
     * 0女，1男，3未知
     */
    private Integer gender;

    /**
     * 备注
     */
    private String remark;
}
